how to solve quadratic equations and find their roots